package com.example.poemtest.entity;

import java.util.List;

/**
 * 用户的实体类
 * created by JHT on 2024/5/17
 */
public class UserInfoBean {
    private int code;
    private String msg;
    private List<UserInfo> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<UserInfo> getData() {
        return data;
    }

    public void setData(List<UserInfo> data) {
        this.data = data;
    }

    public static class UserInfo {
        private int userId;
        private String userPhone;
        private String userName;
        private String userPsd;
        private String userPhotoSrc;
        private int userGrade;
        private int userLevel;

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getUserPhone() {
            return userPhone;
        }

        public void setUserPhone(String userPhone) {
            this.userPhone = userPhone;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getUserPsd() {
            return userPsd;
        }

        public void setUserPsd(String userPsd) {
            this.userPsd = userPsd;
        }

        public String getUserPhotoSrc() {
            return userPhotoSrc;
        }

        public void setUserPhotoSrc(String userPhotoSrc) {
            this.userPhotoSrc = userPhotoSrc;
        }

        public int getUserGrade() {
            return userGrade;
        }

        public void setUserGrade(int userGrade) {
            this.userGrade = userGrade;
        }

        public int getUserLevel() {
            return userLevel;
        }

        public void setUserLevel(int userLevel) {
            this.userLevel = userLevel;
        }
    }
}
